Events
Description
Events available for the Star Rating custom control.
Discussion
These events allow you to trigger custom JavaScript or Xbasic when the user interacts with the star rating UI or when its value changes.
- Name
- Description
- onBeforeDraw
Fires before the Star Rating control is rendered on the screen.
- onBeforePopulate
Fires before the Star Rating control is populated with data.
- onBeforeSelect
Only fires if the item that was selected does not define its own event handler.
- onBlur
Fires when the Star Rating control loses focus.
- onClick
Only fires if the item that was selected does not define its own event handler.
- onDblClick
Only fires if the item that was selected does not define its own event handler.
- onDown
Only fires if the item that was selected does not define its own event handler.
- onDownHold
Fires when a user presses and holds on the Star Rating control.
- onDraw
Fires after the Star Rating control is drawn.
- onFocus
Fires when the Star Rating control receives focus.
- onPopulate
Fires after the Star Rating control has been populated with data.
- onRightClick
Only fires if the item that was selected does not define its own event handler.
- onSelect
Only fires if the item that was selected does not define its own event handler.
- onSelectComplete
Fires after all selectable items have been selected. For example, the ViewBox might be set to allow multiple selections. If the .setValue() method is called and it sets multiple values, this event will be fired only once after all of the individual selection events have fired.
- onSwipe
Only fires if the item that was selected does not define its own event handler.
- onUp
Only fires if the item that was selected does not define its own event handler.